package com.gpframework.module.module.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @ClassName BrandInfoUpdate
 * @Author gpframework
 * @Date 2022-03-23
 * @Version 1.0.0
 * @Description 品牌信息更新请求体对象
 */
@Data
@ToString
@Validated
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class BrandInfoUpdate extends BrandInfoAdd {

    @NotNull(message = "主键不能为空")
    @ApiModelProperty(value = "主键", required = true)
    private Long brandId;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = false)
    private String password;
    /**
     * 显示的密码
     */
    @ApiModelProperty(value = "显示的密码", required = false)
    private String showPassword;
}
